# 贝尔实验室 Spring 官方推荐镜像 JDK下载地址 https://bell-sw.com/pages/downloads/
#FROM bellsoft/liberica-openjdk-debian:17.0.11-cds
#FROM findepi/graalvm:java17-native
FROM bellsoft/liberica-openjre-alpine:8

COPY tomcat /opt/tomcat

ENV JAVA_OPTS="-server -Xms1024m -Xmx4096m"
ENV CATALINA_HOME=/opt/tomcat
ENV PATH=$PATH:$CATALINA_HOME/bin

EXPOSE 8080

CMD ["catalina.sh", "run"]

